@else { border-color: $borders_color; }
@include _button_text_shadow($tc,$c);
- @if $noedge { box-shadow: inset 0 1px $_top_hilight; }
- @else {
- @include _shadows(inset 0 1px $_top_hilight, $widget_edge);
- }
+ $_outsets: if($noedge, none, $widget_edge);
+ @include _shadows(inset 0 1px $_top_hilight, $_outsets);
}
@else if $t==hover {
$c);
@include _button_text_shadow($tc,lighten($c,4%));
- @if $noedge { box-shadow: inset 0 1px $_top_hilight; }
- @else {
- @include _shadows(inset 0 1px $_top_hilight, $widget_edge);
- }
+ $_outsets: if($noedge, none, $widget_edge);
+ @include _shadows(inset 0 1px $_top_hilight, $_outsets);
}
@else if $t==active {
darken($c,5%) 3%);
}
@include _button_text_shadow($tc,darken($c,10%));
- @if $noedge {
- box-shadow: inset 0 2px 3px -1px transparentize(black,0.7);
- }
- @else {
- @include _shadows(inset 0 2px 3px -1px transparentize(black,0.7),
- $widget_edge);
- }
+ $_outsets: if($noedge, none, $widget_edge);
+ @include _shadows(inset 0 2px 3px -1px transparentize(black,0.7),$_outsets);
}
@else if $t==insensitive {
//
background-image: linear-gradient(to bottom, $insensitive_bg_color);
text-shadow: none;
icon-shadow: none;
- @if $noedge {
- // white with 0 alpha to avoid an ugly transition, since no color means
- // black with 0 alpha
- box-shadow: inset 0 1px transparentize(white,1);
- }
- @else {
- @include _shadows(inset 0 1px transparentize(white,1),
- $widget_edge);
- }
+ $_outsets: if($noedge, none, $widget_edge);
+ // white with 0 alpha to avoid an ugly transition, since no color means
+ // black with 0 alpha
+ @include _shadows(inset 0 1px transparentize(white,1), $_outsets);
}
@else if $t==insensitive-active {
//
background-image: linear-gradient(to bottom,
mix($insensitive_borders_color,
$insensitive_bg_color, 10%));
- @if $noedge {
- // white with 0 alpha to avoid an ugly transition, since no color means
- // black with 0 alpha
- box-shadow: inset 0 1px transparentize(white,1);
- }
- @else {
- @include _shadows(inset 0 1px transparentize(white,1),
- $widget_edge);
- }
+ $_outsets: if($noedge, none, $widget_edge);
+ // white with 0 alpha to avoid an ugly transition, since no color means
+ // black with 0 alpha
+ @include _shadows(inset 0 1px transparentize(white,1), $_outsets);
}
@else if $t==backdrop {
text-shadow: none;
icon-shadow: none;
@include _shadows(inset 0 1px transparentize(white,1),
- 0 1px transparentize(white,1));
+ 0 1px transparentize(white,1));
}
@else if $t==backdrop-active {
border-color: $backdrop_borders_color;
background-image: linear-gradient(to bottom,
mix($backdrop_borders_color,$backdrop_bg_color, 35%));
- @include _shadows(inset 0 1px transparentize(white,1),
- 0 1px transparentize(white,1));
+ box-shadow: inset 0 1px transparentize(white,1),
+ 0 1px transparentize(white,1);
}
@else if $t==backdrop-insensitive {
color: $backdrop_insensitive_color;
border-color: $backdrop_borders_color;
background-image: linear-gradient(to bottom, $backdrop_bg_color);
- box-shadow: inset 0 1px transparentize(white,1);
+ box-shadow: inset 0 1px transparentize(white,1),
+ 0 1px transparentize(white,1);
}
@else if $t==backdrop-insensitive-active {
border-color: $backdrop_borders_color;
background-image: linear-gradient(to bottom,
mix($backdrop_borders_color,$backdrop_bg_color, 8%));
- @include _shadows(inset 0 1px transparentize(white,1),
- 0 1px transparentize(white,1));
+ box-shadow: inset 0 1px transparentize(white,1),
+ 0 1px transparentize(white,1);
}
@else if $t==osd {
border: 1px solid #215d9c;
background-color: rgba(33, 93, 156, 0.2); }
+.overshoot {
+ background-color: rgba(33, 93, 156, 0.2); }
+
.dim-label, .titlebar .subtitle,
.header-bar .subtitle {
opacity: 0.55;
text-shadow: none; }
-.overshoot {
- background-color: rgba(33, 93, 156, 0.2); }
-
/*********************
* Spinner Animation *
*********************/
color: #454c4c;
border-color: #1e2222;
background-image: linear-gradient(to bottom, #393f3f);
- box-shadow: inset 0 1px rgba(255, 255, 255, 0); }
+ box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px rgba(255, 255, 255, 0); }
.button:backdrop:insensitive:active, .button.flat:backdrop:insensitive:active {
border-style: solid;
color: #454c4c;
color: #454c4c;
border-color: #1e2222;
background-image: linear-gradient(to bottom, #393f3f);
- box-shadow: inset 0 1px rgba(255, 255, 255, 0); }
+ box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px rgba(255, 255, 255, 0); }
.button.suggested-action:insensitive {
border-style: solid;
color: #939695;
color: #454c4c;
border-color: #1e2222;
background-image: linear-gradient(to bottom, #393f3f);
- box-shadow: inset 0 1px rgba(255, 255, 255, 0); }
+ box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px rgba(255, 255, 255, 0); }
.button.destructive-action:insensitive {
border-style: solid;
color: #939695;
color: #454c4c;
border-color: #1e2222;
background-image: linear-gradient(to bottom, #393f3f);
- box-shadow: inset 0 1px rgba(255, 255, 255, 0); }
+ box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px rgba(255, 255, 255, 0); }
.inline-toolbar GtkToolButton > .button:backdrop:insensitive:active {
border-style: solid;
color: #454c4c;
color: #454c4c;
border-color: #1e2222;
background-image: linear-gradient(to bottom, #393f3f);
- box-shadow: inset 0 1px rgba(255, 255, 255, 0); }
+ box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px rgba(255, 255, 255, 0); }
.spinbutton.vertical.entry {
border-radius: 0; }
.spinbutton.vertical .button:first-child, .spinbutton.vertical .button:first-child:active, .spinbutton.vertical .button:first-child:hover, .spinbutton.vertical .button:first-child:insensitive, .spinbutton.vertical .button:first-child:backdrop {
color: #454c4c;
border-color: #1e2222;
background-image: linear-gradient(to bottom, #393f3f);
- box-shadow: inset 0 1px rgba(255, 255, 255, 0); }
+ box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px rgba(255, 255, 255, 0); }
.titlebar.selection-mode .button.suggested-action,
.header-bar.selection-mode .button.suggested-action {
border-style: solid;
color: #454c4c;
border-color: #1e2222;
background-image: linear-gradient(to bottom, #393f3f);
- box-shadow: inset 0 1px rgba(255, 255, 255, 0);
+ box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px rgba(255, 255, 255, 0);
border-color: #0f2b48; }
.titlebar.selection-mode .selection-menu, .titlebar.selection-mode .selection-menu:backdrop,
.header-bar.selection-mode .selection-menu,
color: #454c4c;
border-color: #1e2222;
background-image: linear-gradient(to bottom, #393f3f);
- box-shadow: inset 0 1px rgba(255, 255, 255, 0);
+ box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px rgba(255, 255, 255, 0);
border-color: #454c4c; }
/*************************
color: #454c4c;
border-color: #1e2222;
background-image: linear-gradient(to bottom, #393f3f);
- box-shadow: inset 0 1px rgba(255, 255, 255, 0);
+ box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px rgba(255, 255, 255, 0);
border-color: #454c4c; }
.scale.slider:active,
.scale.scale-has-marks-above.scale-has-marks-below.slider:active,
color: #454c4c;
border-color: #1e2222;
background-image: linear-gradient(to bottom, #393f3f);
- box-shadow: inset 0 1px rgba(255, 255, 255, 0); }
+ box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px rgba(255, 255, 255, 0); }
.message-dialog.csd .dialog-action-area .button.suggested-action {
border-style: solid;
border-width: 1px;
color: #454c4c;
border-color: #1e2222;
background-image: linear-gradient(to bottom, #393f3f);
- box-shadow: inset 0 1px rgba(255, 255, 255, 0); }
+ box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px rgba(255, 255, 255, 0); }
.message-dialog.csd .dialog-action-area .button.suggested-action:insensitive {
border-style: solid;
color: #939695;
color: #454c4c;
border-color: #1e2222;
background-image: linear-gradient(to bottom, #393f3f);
- box-shadow: inset 0 1px rgba(255, 255, 255, 0); }
+ box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px rgba(255, 255, 255, 0); }
.message-dialog.csd .dialog-action-area .button.destructive-action:insensitive {
border-style: solid;
color: #939695;
color: #454c4c;
border-color: #1e2222;
background-image: linear-gradient(to bottom, #393f3f);
- box-shadow: inset 0 1px rgba(255, 255, 255, 0); }
+ box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px rgba(255, 255, 255, 0); }
/************
* Tooltips *
border: 1px solid #4a90d9;
background-color: rgba(74, 144, 217, 0.2); }
+.overshoot {
+ background-color: rgba(74, 144, 217, 0.2); }
+
.dim-label, .titlebar .subtitle,
.header-bar .subtitle {
opacity: 0.55;
text-shadow: none; }
-.overshoot {
- background-color: rgba(74, 144, 217, 0.2); }
-
/*********************
* Spinner Animation *
*********************/
color: #c7c7c7;
border-color: #a8a8a8;
background-image: linear-gradient(to bottom, #ededed);
- box-shadow: inset 0 1px rgba(255, 255, 255, 0); }
+ box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px rgba(255, 255, 255, 0); }
.button:backdrop:insensitive:active, .button.flat:backdrop:insensitive:active {
border-style: solid;
color: #c7c7c7;
color: #c7c7c7;
border-color: #a8a8a8;
background-image: linear-gradient(to bottom, #ededed);
- box-shadow: inset 0 1px rgba(255, 255, 255, 0); }
+ box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px rgba(255, 255, 255, 0); }
.button.suggested-action:insensitive {
border-style: solid;
color: #8d9091;
color: #c7c7c7;
border-color: #a8a8a8;
background-image: linear-gradient(to bottom, #ededed);
- box-shadow: inset 0 1px rgba(255, 255, 255, 0); }
+ box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px rgba(255, 255, 255, 0); }
.button.destructive-action:insensitive {
border-style: solid;
color: #8d9091;
color: #c7c7c7;
border-color: #a8a8a8;
background-image: linear-gradient(to bottom, #ededed);
- box-shadow: inset 0 1px rgba(255, 255, 255, 0); }
+ box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px rgba(255, 255, 255, 0); }
.inline-toolbar GtkToolButton > .button:backdrop:insensitive:active {
border-style: solid;
color: #c7c7c7;
color: #c7c7c7;
border-color: #a8a8a8;
background-image: linear-gradient(to bottom, #ededed);
- box-shadow: inset 0 1px rgba(255, 255, 255, 0); }
+ box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px rgba(255, 255, 255, 0); }
.spinbutton.vertical.entry {
border-radius: 0; }
.spinbutton.vertical .button:first-child, .spinbutton.vertical .button:first-child:active, .spinbutton.vertical .button:first-child:hover, .spinbutton.vertical .button:first-child:insensitive, .spinbutton.vertical .button:first-child:backdrop {
color: #c7c7c7;
border-color: #a8a8a8;
background-image: linear-gradient(to bottom, #ededed);
- box-shadow: inset 0 1px rgba(255, 255, 255, 0); }
+ box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px rgba(255, 255, 255, 0); }
.titlebar.selection-mode .button.suggested-action,
.header-bar.selection-mode .button.suggested-action {
border-style: solid;
color: #c7c7c7;
border-color: #a8a8a8;
background-image: linear-gradient(to bottom, #ededed);
- box-shadow: inset 0 1px rgba(255, 255, 255, 0);
+ box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px rgba(255, 255, 255, 0);
border-color: #184472; }
.titlebar.selection-mode .selection-menu, .titlebar.selection-mode .selection-menu:backdrop,
.header-bar.selection-mode .selection-menu,
color: #c7c7c7;
border-color: #a8a8a8;
background-image: linear-gradient(to bottom, #ededed);
- box-shadow: inset 0 1px rgba(255, 255, 255, 0); }
+ box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px rgba(255, 255, 255, 0); }
/*************************
* Check and Radio items *
color: #c7c7c7;
border-color: #a8a8a8;
background-image: linear-gradient(to bottom, #ededed);
- box-shadow: inset 0 1px rgba(255, 255, 255, 0); }
+ box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px rgba(255, 255, 255, 0); }
.scale.slider:active,
.scale.scale-has-marks-above.scale-has-marks-below.slider:active,
.scale.vertical.scale-has-marks-above.scale-has-marks-below.slider:active {
color: #c7c7c7;
border-color: #a8a8a8;
background-image: linear-gradient(to bottom, #ededed);
- box-shadow: inset 0 1px rgba(255, 255, 255, 0); }
+ box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px rgba(255, 255, 255, 0); }
.message-dialog.csd .dialog-action-area .button.suggested-action {
border-style: solid;
border-width: 1px;
color: #c7c7c7;
border-color: #a8a8a8;
background-image: linear-gradient(to bottom, #ededed);
- box-shadow: inset 0 1px rgba(255, 255, 255, 0); }
+ box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px rgba(255, 255, 255, 0); }
.message-dialog.csd .dialog-action-area .button.suggested-action:insensitive {
border-style: solid;
color: #8d9091;
color: #c7c7c7;
border-color: #a8a8a8;
background-image: linear-gradient(to bottom, #ededed);
- box-shadow: inset 0 1px rgba(255, 255, 255, 0); }
+ box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px rgba(255, 255, 255, 0); }
.message-dialog.csd .dialog-action-area .button.destructive-action:insensitive {
border-style: solid;
color: #8d9091;
color: #c7c7c7;
border-color: #a8a8a8;
background-image: linear-gradient(to bottom, #ededed);
- box-shadow: inset 0 1px rgba(255, 255, 255, 0); }
+ box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px rgba(255, 255, 255, 0); }
/************
* Tooltips *